package com.gf.user.model;

import java.io.Serializable;
import java.util.Date;

import com.gf.base.type.Activity;
import com.gf.base.type.BloodType;
import com.gf.base.type.CareType;
import com.gf.base.type.HandType;
import com.gf.base.type.LicenseState;
import com.gf.base.type.Role;
import com.gf.base.type.SafeFactor;
import com.gf.base.type.Sex;
import com.gf.base.type.VIP;

/**
 * 用户信息
 * 
 * @author zhuguifeng
 * 
 */
public class User implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Long id;
	private String uuid;// UUID
	private String nickname;
	private String email;
	private String cellphone;
	private String password;
	private String idNumber;// 身份证号
	private String realName;// 真实名字
	private String lastLoginIp;
	private Date lastLoginTime;
	private Date createtime;// 注册的时间
	private String createtimeString;
	private String portrait;//头像
	private String idPath;// 身份证件上传的路径
	private String licensePath;// 医生执照上传的路径
	private Sex sex;
	private String stringsex;
	private LicenseState licenseState;
	private String licenseStateString;
	private Activity activity;
	private String stringactivity;
	private Role role;// 角色
	private String major;// 医生:主修专业 ; 其他人:null
	private String experience;// 个人经历,过往病史
	private String income;// 收入
	private Date birthday;// 生日
	private String birthdayString;
	private BloodType bloodType;// 血型
	private String stringbloodType;
	private HandType handType;// 利手
	private SafeFactor safeFactor;
	private VIP vip;
	private int careCount;
	private int fansCount;
	private CareType careType;
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getLicenseStateString() {
		return licenseStateString;
	}

	public void setLicenseStateString(String licenseStateString) {
		this.licenseStateString = licenseStateString;
	}

	public String getCreatetimeString() {
		return createtimeString;
	}

	public void setCreatetimeString(String createtimeString) {
		this.createtimeString = createtimeString;
	}

	public String getBirthdayString() {
		return birthdayString;
	}

	public void setBirthdayString(String birthdayString) {
		this.birthdayString = birthdayString;
	}

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getCellphone() {
		return cellphone;
	}

	public void setCellphone(String cellphone) {
		this.cellphone = cellphone;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getIdNumber() {
		return idNumber;
	}

	public void setIdNumber(String idNumber) {
		this.idNumber = idNumber;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getLastLoginIp() {
		return lastLoginIp;
	}

	public void setLastLoginIp(String lastLoginIp) {
		this.lastLoginIp = lastLoginIp;
	}

	public Date getLastLoginTime() {
		return lastLoginTime;
	}

	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public String getPortrait() {
		return portrait;
	}

	public void setPortrait(String portrait) {
		this.portrait = portrait;
	}

	public String getIdPath() {
		return idPath;
	}

	public void setIdPath(String idPath) {
		this.idPath = idPath;
	}

	public String getLicensePath() {
		return licensePath;
	}

	public void setLicensePath(String licensePath) {
		this.licensePath = licensePath;
	}

	public Sex getSex() {
		return sex;
	}

	public void setSex(Sex sex) {
		this.sex = sex;
	}

	public Activity getActivity() {
		return activity;
	}

	public void setActivity(Activity activity) {
		this.activity = activity;
	}

	public Role getRole() {
		return role;
	}

	public void setRole(Role role) {
		this.role = role;
	}

	public String getMajor() {
		return major;
	}

	public void setMajor(String major) {
		this.major = major;
	}

	public String getExperience() {
		return experience;
	}

	public void setExperience(String experience) {
		this.experience = experience;
	}

	public String getIncome() {
		return income;
	}

	public void setIncome(String income) {
		this.income = income;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public BloodType getBloodType() {
		return bloodType;
	}

	public void setBloodType(BloodType bloodType) {
		this.bloodType = bloodType;
	}

	public HandType getHandType() {
		return handType;
	}

	public void setHandType(HandType handType) {
		this.handType = handType;
	}

	public SafeFactor getSafeFactor() {
		return safeFactor;
	}

	public void setSafeFactor(SafeFactor safeFactor) {
		this.safeFactor = safeFactor;
	}

	public LicenseState getLicenseState() {
		return licenseState;
	}

	public void setLicenseState(LicenseState licenseState) {
		this.licenseState = licenseState;
	}

	public VIP getVip() {
		return vip;
	}

	public void setVip(VIP vip) {
		this.vip = vip;
	}

	public int getCareCount() {
		return careCount;
	}

	public void setCareCount(int careCount) {
		this.careCount = careCount;
	}

	public int getFansCount() {
		return fansCount;
	}

	public void setFansCount(int fansCount) {
		this.fansCount = fansCount;
	}

	public CareType getCareType() {
		return careType;
	}

	public void setCareType(CareType careType) {
		this.careType = careType;
	}

	public String getStringactivity() {
		return stringactivity;
	}

	public void setStringactivity(String stringactivity) {
		this.stringactivity = stringactivity;
	}

	public String getStringsex() {
		return stringsex;
	}

	public void setStringsex(String stringsex) {
		this.stringsex = stringsex;
	}

	public String getStringbloodType() {
		return stringbloodType;
	}

	public void setStringbloodType(String stringbloodType) {
		this.stringbloodType = stringbloodType;
	}

}
